<%--
  Created by IntelliJ IDEA.
  User: carlst6
  Date: 2/21/12
  Time: 10:45 AM
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<html>



<head>
  <meta name="layout" content="main"/>
  <title> - Create Account</title>
</head>
<body>
%{--<style type="text/css">--}%

%{--label{--}%
    %{--float: left;--}%
    %{--width: 120px;--}%
    %{--font-weight: bold;--}%
%{--}--}%

%{--.formInput{--}%
    %{--width: 150px;--}%
    %{--margin-bottom: 5px;--}%
%{--}--}%

%{--#submitButton{--}%
    %{--margin-left: 120px;--}%
    %{--margin-top: 5px;--}%
    %{--width: 120px;--}%
%{--}--}%

%{--</style>--}%

<h1>Create New Bidsanity Account</h1>

<g:hasErrors bean="${customerInstance}">
    <div class="errors">
        <g:renderErrors bean="${customerInstance}" as="list" />
    </div>
</g:hasErrors>

%{--<g:form name="createAccount" action="save">--}%
    %{--<label for="emailAddress">Email Address</label>--}%
    %{--<g:textField name="emailAddress" class="formInput" value="${emailAddress}" /><br/>--}%
    %{--<label for="password">Password</label>--}%
    %{--<g:passwordField name="password" class="formInput" value="${password}" /><br/>--}%
    %{--<g:submitButton name="create" id="submitButton" value="Create Account" />--}%
%{--</g:form>--}%
<g:form action="save" >
    <fieldset>
        <g:render template="form"/>
    </fieldset>
    <fieldset>
        <g:submitButton name="create" value="${message(code: 'default.button.create.label', default: 'Create')}" />
    </fieldset>
</g:form>
</body>
</html>